package cn.day10;

public class TestUserInter {
    public static void main(String[] args) {
        UserInter i=new UserInterImpl();
    }

}
interface UserInter{
    int a=5;
    //public UserInter(){};接口没有构造方法
}
class UserInterImpl implements UserInter{
    public UserInterImpl() {
        super();
        System.out.println("我是子实现类的无参构造");
    }
}